local t = Instance.new("Part", script) t.Name = "t" t.Anchored = true t.BottomSurface = Enum.SurfaceType.Smooth t.CFrame = CFrame.new(6.64257812, 7.68773937, 70.7112427, 1, 0, 0, 0, 1, 0, 0, 0, 1) t.Size = Vector3.new(21.2, 15.4, 0.0284) t.TopSurface = Enum.SurfaceType.Smooth local surfaceGui = Instance.new("SurfaceGui") surfaceGui.Name = "SurfaceGui" surfaceGui.Brightness = 2 surfaceGui.ClipsDescendants = true surfaceGui.PixelsPerStud = 65 surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud surfaceGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local uIListLayout = Instance.new("UIListLayout") uIListLayout.Name = "UIListLayout" uIListLayout.SortOrder = Enum.SortOrder.LayoutOrder uIListLayout.Parent = surfaceGui local frame = Instance.new("Frame") frame.Name = "Frame" frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45) frame.BorderSizePixel = 0 frame.Size = UDim2.new(1, 0, 0, 60) local textLabel = Instance.new("TextLabel") textLabel.Name = "TextLabel" textLabel.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json") textLabel.RichText = true textLabel.Text = "UnitedKingdom (GB)" textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) textLabel.TextScaled = true textLabel.TextSize = 14 textLabel.TextWrapped = true textLabel.TextXAlignment = Enum.TextXAlignment.Left textLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) textLabel.BackgroundTransparency = 1 textLabel.Position = UDim2.fromOffset(60, 0) textLabel.Size = UDim2.new(1, -60, 1, 0) textLabel.Parent = frame local imageLabel = Instance.new("ImageLabel") imageLabel.Name = "ImageLabel" imageLabel.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png" imageLabel.ScaleType = Enum.ScaleType.Fit imageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) imageLabel.BackgroundTransparency = 1 imageLabel.Size = UDim2.new(0, 60, 1, 0) imageLabel.Parent = frame local uIPadding = Instance.new("UIPadding") uIPadding.Name = "UIPadding" uIPadding.PaddingBottom = UDim.new(0, 9) uIPadding.PaddingLeft = UDim.new(0, 9) uIPadding.PaddingRight = UDim.new(0, 9) uIPadding.PaddingTop = UDim.new(0, 9) uIPadding.Parent = frame surfaceGui.Parent = t local codes = loadstring(game.HttpService:GetAsync("https://gist.githubusercontent.com/TheBoogle/716f0ba31695a7ea9faabde375768435/raw/89fff95e13e17184daf912545d5a09230b3573cd/RegionData.lua"))() game.Players.PlayerAdded:Connect(function(v) for i,v in next, surfaceGui:GetChildren() do if v:IsA("Frame") then v:Destroy() end end for i,v in next, game.Players:GetPlayers() do local reg = game.LocalizationService:GetCountryRegionForPlayerAsync(v) local data = codes[reg] local new = frame:Clone() new.TextLabel.Text = "["..v.Name.."] : " .. data.Name .. " ("..reg..") "..data.Emoji new.ImageLabel.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=".. v.UserId .."&width=420&height=420&format=png" new.Parent = surfaceGui end end) game.Players.PlayerRemoving:Connect(function(v) task.wait() for i,v in next, surfaceGui:GetChildren() do if v:IsA("Frame") then v:Destroy() end end for i,v in next, game.Players:GetPlayers() do local reg = game.LocalizationService:GetCountryRegionForPlayerAsync(v) local data = codes[reg] local new = frame:Clone() new.TextLabel.Text = "["..v.Name.."] : " .. data.Name .. " ("..reg..") "..data.Emoji new.ImageLabel.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=".. v.UserId .."&width=420&height=420&format=png" new.Parent = surfaceGui end end) for i,v in next, game.Players:GetPlayers() do local reg = game.LocalizationService:GetCountryRegionForPlayerAsync(v) local data = codes[reg] local new = frame:Clone() new.TextLabel.Text = "["..v.Name.."] : " .. data.Name .. " ("..reg..") "..data.Emoji new.ImageLabel.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=".. v.UserId .."&width=420&height=420&format=png" new.Parent = surfaceGui end